package com.example.model.dlo;

import com.example.model.Department;
import com.example.model.Employee;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class CmDepartment {
    private int id;
    private String name;
    private Department parent;
    private Employee manager;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
